#!/usr/bin/env python
# coding=utf-8





import logging



logging.basicConfig(filename="./demo.log",level=logging.DEBUG,format="%(name)s-%(levelname)s-%(asctime)s-%(message)s")

res=0

for i in range(101):
    logging.info(f"current num is {res}")
    res+=i
logging.warning("running finish,but no action")
